package com.apollographql.apollo.api.internal;

import com.kt.Metadata;
import com.kt.jvm.JvmStatic;
import com.kt.jvm.internal.Intrinsics;
import com.kt.text.Regex;

@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0002\bÆ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0010\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u0004H\u0007¨\u0006\u0006"}, d2 = {"Lcom/apollographql/apollo/api/internal/QueryDocumentMinifier;", "", "()V", "minify", "", "queryDocument", "apollo-api"}, k = 1, mv = {1, 4, 0})
/* compiled from: QueryDocumentMinifier.kt */
public final class QueryDocumentMinifier {
    public static final QueryDocumentMinifier INSTANCE = new QueryDocumentMinifier();

    private QueryDocumentMinifier() {
    }

    @JvmStatic
    public static final String minify(String queryDocument) {
        Intrinsics.checkParameterIsNotNull(queryDocument, "queryDocument");
        return new Regex("\\s *").replace(queryDocument, " ");
    }
}
